<?php

class IndexController extends BaseController
{
	public function Index()
	{
		echo "I'm IndexController";

	}

	function Hequan()
	{
		echo "Im Hequan RUNTIME_PATH = " . RUNTIME_PATH;
	}

	function showview()
	{
		$data = array(
				'_title'	=> 'HeQuan',
				'_body'		=> "I'm body",
		);

		Factory::getView('test', $data);
	}
	
	function getmodule()
	{
	    $indexmodule = Factory::getModule('index');
	    $data = $indexmodule->haha();
	    var_dump($data);
	}
}
